package com.example.smithing_master.block;
/*
@Author Leonidas
@Date 2025/2/13 - 12:36
@Email zhangye99@bupt.edu.cn
*/

import com.example.smithing_master.Smithing_Master;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.Blocks;
import net.minecraft.item.BlockItem;
import net.minecraft.item.Item;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.state.StateManager;
import net.minecraft.state.property.DirectionProperty;
import net.minecraft.state.property.Properties;
import net.minecraft.util.Identifier;

public class mod_blocks {
    public static final Block Forging_Furnace = registerBlocks("forging_furnace",
            new Block(FabricBlockSettings.copyOf(Blocks.STONE)));
    private static Block registerBlocks(String name,Block block) {
        registerBlockItems(name, block);
        return Registry.register(Registries.BLOCK, new Identifier(Smithing_Master.MOD_ID, name), block);
    }
    private static Item registerBlockItems(String name, Block block) {
        return Registry.register(Registries.ITEM, new Identifier(Smithing_Master.MOD_ID, name),
                new BlockItem(block, new FabricItemSettings()));
    }
    public static void registerModBlocks(){

    }
}
